package org.sunshinebox.team.exception;

//Test free
public class ExceptionMessageFactory {
	
	private static String sourceId = "exception";
	
	public static void setSourceId(String sourceId) {
		ExceptionMessageFactory.sourceId = sourceId;
	}
	
	public static ExceptionMessage newInstance(String id, Object... args){
		return new ExceptionMessage(sourceId, id, args);
	}
	
	public static String getSourceId() {
		return sourceId;
	}
}
